package com.yhny.lykj.yuhannongye;

import android.content.Context;
import android.os.Vibrator;

import com.longsichao.lscframe.app.LSCApplication;
import com.longsichao.lscframe.tools.LSCLog;
import com.yhny.lykj.yuhannongye.app.UserConfig;
import com.yhny.lykj.yuhannongye.tools.LCLog;


/**
 * Created by lc on 2016/3/30.
 */
public class MyApplication extends LSCApplication {
    public static Context applicationContext = null;
    public Vibrator mVibrator;

    @Override
    public void onCreate() {
        super.onCreate();
        applicationContext = getApplicationContext();
        UserConfig.initialize();
        //底层框架打印 测试版
        LSCLog.logCat(BuildConfig.DEBUG);
//        LCLog.isDebug = false;
        LSCLog.logFile(getApplicationContext(), false);
    }

    private static Context sContext;
    public static Context getContext(){
        return applicationContext;
    }



}
